package top.misspro.valheimadminsocket;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import top.misspro.valheimadminsocket.server.NettyServer;
import top.misspro.valheimadminsocket.server.ServerContains;

import java.net.InetSocketAddress;

/**
 * @author Evan
 */
@SpringBootApplication
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
        (new NettyServer()).start(new InetSocketAddress(ServerContains.PORT));
    }

}
